body {
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

li {
    list-style: none;
}

/* 导航盒子样式 */
.nav-box {
    width: 330px;
    background-color: #f0f0f0;
}

/* 顶部导航条样式 */
.nav-top {
    display: flex;
    height: 40px;
}

.nav-top .logo {
    padding: 0 25px;
    line-height: 40px;
    color: #6300FF;
    font-size: 18px;
}

.nav-top .nav-top-list {
    margin: 0 10px 0 0;
    padding: 0;
    flex-grow: 1;
    height: 40px;
    display: flex;
    justify-content: start;
}

.nav-top .nav-top-list li {
    text-align: center;
    transition: all .2s;
}

.nav-top .nav-top-list svg {
    padding: 9px 16px;
    width: 22px;
    height: 22px;
}

.nav-top li:hover {
    border-bottom: 2px solid #6300FF;
}

.nav-top .nav-top-active svg path,
.nav-top li:hover svg path {
    fill: #6300FF;
}

/* 左侧导航条样式 */
.nav-left {
    position: absolute;
    top: 40px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;
    padding: 20px 0;
}

.nav-left ul {
    margin: 0;
    padding: 0;
}

.nav-left li svg {
    margin: 4px;
    padding: 8px;
    border-radius: 5px;
    width: 24px;
    height: 24px;
    transition: background-color .3s;
}

.nav-left .nav-left-active svg,
.nav-left li:hover svg {
    background-color: #ddd;
}

.nav-left .nav-left-active svg path,
.nav-left li:hover svg path {
    fill: #6300FF;
}

/* 内部盒子样式 */
.in-box {
    position: absolute;
    top: 40px;
    left: 50px;
    bottom: 0;
    z-index: 1;
    width: 280px;
    overflow-y: scroll;
    border-radius: 20px 0 0 0;
    background-color: #fafafa;
}

/* 隐藏导航条 */
::-webkit-scrollbar {
    width: 0;
}

.content {
    /* 占满页面剩余宽度 */
    flex: 1;
    /* 占满整个页面高度 */
    height: 100vh;
    /* 设置 y 轴导航 */
    overflow-y: scroll;
}
